<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div title="选择机动车" id="vehicleSelectDialog" class="dialogtitle">
	<div class="searchbox">
		<table cellspacing="0" cellpadding="0">
			<tr>
				<td>号牌号码：</td>
				<td><input type="text" id="txtPlateNum"></td>
				<td>号牌种类：</td>
				<td>
					<select id="lstLicencePlateKind">
						<option value="">--所有--</option>
						<c:forEach items="${lstLicencePlateKind}" var="licencePlateKind">
							<option value="${licencePlateKind.code}">${licencePlateKind.name}</option>
						</c:forEach>
					</select>
				</td>
				<td rowspan="2">
					<button style="float:right;margin-left:10px;"onclick="clearInput('#vehicleSelectDialog .searchbox');">重置</button>
					<button style="float:right;" onclick="ajaxFindVehicleSelectList()">查询</button>
				</td>
			</tr>
			<tr>
				<td>机动车状态：</td>
				<td>
					<select id="lstVehicleStates">
						<option value="">--所有--</option>
						<c:forEach items="${lstVehicleStates}" var="vehicleStatus">
							<option value="${vehicleStatus.code}"><c:out value="${vehicleStatus.name}" /></option>
						</c:forEach>
					</select>
				</td>
				<td></td>
				<td></td>
			</tr>
		</table>
	</div>
	<table cellspacing="0" cellpadding="0">
		<tr>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="leftVehicleList" style="min-width:800px;" cellspacing="0" cellpadding="0">
						<tbody>

						</tbody>
					</table>
				</div>
			</td>
			<td style="width:80px;" align="center">
				<button style="width:60px;" onclick="moveFromObjToObj('leftVehicleList','rightVehicleList')">&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('leftVehicleList','rightVehicleList')">&gt;&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('rightVehicleList','leftVehicleList')">&lt;&lt;</button>
				<button style="width:60px;margin-top:10px;" onclick="moveFromObjToObj('rightVehicleList','leftVehicleList')">&lt;</button>
			</td>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="rightVehicleList" style="min-width:800px;" cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<td>机动车所有人</td>
								<td>号牌号码</td>
								<td>号牌种类</td>
								<td>VIN</td>
								<td>车辆类型</td>
								<td>车辆分类</td>
								<td>使用性质</td>
								<td>发证机关</td>
								<td>号牌颜色</td>
							</tr>
						</thead>
						<tbody>

						</tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
<script>
	$("#vehicleSelectDialog button").button();
	ajaxFindVehicleSelectList();
</script>